package com.dilip;
public class Test {
	static int count;
private static Test t = null;
private Test(){
	t=new Test();	
}
public static Test getInstance(){
	return t;
}
static{
	count++;
	System.out.println(count);
	System.out.println("dkirar");
}
public static void main(String[] args) {
	Test t = Test.getInstance();
	Test t1 = Test.getInstance();
	Test t3 = Test.getInstance();
}
}

